# coding:utf-8
"""
Python is an object oriented programming language.
Almost everything in Python is an object, with its properties and methods.
A Class is like an object constructor, or a "blueprint" for creating objects.
A class is a template for objects, and an object is an instance of a class.
When the individual objects are created, they inherit all the properties and behaviors from the class,
but each object will have different values for the properties.
"""
# To create a class, use the keyword class
# Create a class named MyClass, with a property named x:
class MyClass:
x = 5
# Create an object named p1, and print the value of x:
p1 = MyClass()
print(type(p1))
print(p1.x)
"""
The examples above are classes and objects in their simplest form,
and are not really useful in real life applications.
"""